//*****************************************************************************
// Classification:   UNCLASSIFIED//FOUO
//
// NAME:  IDataEvent.java
//
// AUTHOR/DATE:  Mark  12/27/11
//
// DESCRIPTION: 
//
//*****************************************************************************
package com.mark.geoidz.modules.geoidz_Core.data;

import java.util.Date;

/**
 * This interface encapsulates a single data event, which is composed of a piece
 * of data with an associated timestamp.
 * @author Mark Hazlewood
 */
public interface IDataEvent<DataType>
{
   /**
    * Gets the data associated with this event.
    * @return The data.
    */
   DataType getData();
   
   /**
    * Gets the time at which this event occurred, with millisecond precision.
    * @return Time at which this event occurred.
    */
   Date getTimestamp();
}
